<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .div1 {
            width: 600px;
            height: 90px;
            border: 1.8px solid black;
            background-image: linear-gradient(45deg, yellow 0%, yellow 25%, blue 0%, blue 50%, red 0%, red 75%, green 0%, green 100%);
        }

        .div2 {
            margin-top: 30px;
            width: 600px;
            height: 90px;
            border: 1.8px solid black;
            background-image: linear-gradient(to right, black 0%, black 25%, white 0%, white 50%, black 0%, black 75%, white 0%, white 100%);
        }

        .div3 {
            width: 700px;
            margin-top: 30px;
            font-size: 100px;
            font-weight: 700;
            background-image: linear-gradient(45deg, orange 0%, orange 33%, blue 33%, blue 66%, red 66%, red 100%);
            background-clip: text;
            color: transparent;
        }

        .div4 {
            width: 500px;
            height: 500px;
            background: white;
            background-image: linear-gradient(to right, rgba(255, 92, 78, .8) 50%, transparent 0),
                linear-gradient(rgba(255, 155, 138, .8) 50%, transparent 0);
            background-size: 40px 40px;
        }
    </style>
</head>

<body>
    <div class="div1"></div>
    <div class="div2"></div>
    <div class="div3">中华人民共和国</div>
    <div class="div4"></div>
</body>

</html>